﻿#ifndef MYTEXTEDIT_H
#define MYTEXTEDIT_H
#pragma once
#include <QTextEdit>
#include <QImageReader>
#include <QTextDocument>
#include <QTextBlock>

class MyTextEdit : public QTextEdit
{
    Q_OBJECT
public:
    MyTextEdit(QWidget*& widget);
    MyTextEdit();
    static MyTextEdit& getInstance();
    void insertImg(QString url);
    void getImg(QString imgname);
};

#endif // MYTEXTEDIT_H
